package com.zking.ssm.sys.service;


import com.zking.ssm.sys.model.HotelFacility;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelFacilityService {
    int deleteByPrimaryKey(Long id);

    int insert(HotelFacility record);

    int insertSelective(HotelFacility record);

    @Transactional(readOnly = true)
    HotelFacility selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HotelFacility record);

    int updateByPrimaryKey(HotelFacility record);

    @Transactional(readOnly = true)
    List<HotelFacility> list (HotelFacility record, PageBean pageBean);
}
